module windump.scanning.common;

struct ResultItem
{
	string provider;
	string host;
	string account;
	string password;
}

interface IDetector
{
    // return the XML formatting result
    public ResultItem[] update();
	public string name();
	public string className();
	public string type();
}

interface IScanner
{
    public void registerDetector(string name, IDetector d);
    public size_t count();
    public string scan();
    public ResultItem[] doScan();
	public IDetector find(string name);
	public string[] listDetectors();
}
